package com.itheima.interger;

public class IntergerDemo {
    public static void main(String[] args) {
        //String s="91 27 46 38 50";
        String s="91.27.46.38.50";
       //String[] st= s.split(" ");
       String[] st= s.split("\\.");
       int[] a=new int[st.length];
        for (int i = 0; i < st.length; i++) {
            a[i]=Integer.parseInt(st[i]);
            System.out.print(a[i]+"\t");
        }
    }
}
